package com.sky.service.user;

import com.sky.dto.OrdersSubmitDTO;
import com.sky.result.Result;
import com.sky.vo.OrderSubmitVO;
import io.swagger.models.auth.In;

import java.time.LocalDateTime;

public interface UserOderService {
    /**
     * 预计送达时间
     * @param shopId
     * @param customerAddress
     * @return
     */
    LocalDateTime getEstimatedDeliveryTime(Integer shopId, String customerAddress);

    /**
     * 用户下单
     * @param dto
     * @return
     */
    OrderSubmitVO submit(OrdersSubmitDTO dto);
}
